Your accessors can reference field to use the backing field that Kotlin will generate for you. However, once you do that, now your property will need an initializer, to provide the initial value for field.

This code snippet shows the sort of code that is generated for you by default when you create a normal property.

You can learn more about this in:
Run Edit